package com.example.psychologicalappointmentsystem.service;


import com.example.psychologicalappointmentsystem.Object.ConsultationTimeVO;
import com.example.psychologicalappointmentsystem.Object.OrderVO;
import org.springframework.http.ResponseEntity;

import java.time.LocalDate;

public interface OrderService {
    //创建订单
    ResponseEntity<?> createOrder(OrderVO orderVO);

    //获取订单列表
    ResponseEntity<?> orderListPage(OrderVO orderVO);

    //根据id获取订单详情
    ResponseEntity<?> orderInfo(OrderVO orderVO);

    //获取咨询师可选时间段
    ResponseEntity<?> selectTime(ConsultationTimeVO date);

    //订单支付接口
    ResponseEntity<?> payment(Long id);

    //字符回调
    ResponseEntity<?> paymentResult(Long id);

    //咨询师接受预约
    ResponseEntity<?> consultantAccept(ConsultationTimeVO consultationTimeVO);

    //用户获取已预约的订单
    ResponseEntity<?> orderAcceptInfo();

}
